package cn.panda.edu.dao;

import cn.panda.edu.model.ThesisLayout;

import java.util.List;
import java.util.Map;

/**
 * 
 * 类描述：  Dao层ThesisLayout（论文格式）接口类  
 * @author: 常晓菲  
 * @date： 2018-01-15 2:28:41 PM
 */
public interface ThesisLayoutMapper {
	
	/**
	 * 
	* @Title: deleteByPrimaryKey 
	* @Description: 根据主键删除
	* @param thesisLayoutId
	* @return  
	* int
	 */
    int deleteByPrimaryKey(Integer thesisLayoutId);
    /**
     * 
    * @Title: listAll 
    * @Description: 根据条件查询所有论文的题目及规范
    * @param record
    * @return  
    * List<ThesisLayout>
     */
    List<ThesisLayout> listAll(ThesisLayout record);
    /**
     * 
    * @Title: insert 
    * @Description: 添加论文格式
    * @param record
    * @return  
    * int
     */
    int insert(ThesisLayout record);

    /**
     * 
    * @Title: insertSelective 
    * @Description: 有选择的添加
    * @param record
    * @return  
    * int
     */
    int insertSelective(ThesisLayout record);

    /**
     * 
    * @Title: selectByPrimaryKey 
    * @Description: 根据主键查询
    * @param thesisLayoutId
    * @return  
    * ThesisLayout
     */
    ThesisLayout selectByPrimaryKey(Integer thesisLayoutId);

    /**
     * 
    * @Title: updateByPrimaryKeySelective 
    * @Description: 根据主键有选择的更新信息
    * @param record
    * @return  
    * int
     */
    int updateByPrimaryKeySelective(ThesisLayout record);

    /**
     * 
    * @Title: updateByPrimaryKey 
    * @Description: 根据主键更新全部信息
    * @param record
    * @return  
    * int
     */
    int updateByPrimaryKey(ThesisLayout record);
    /**
     * 
    * @Title: selectLikeByPageSelective 
    * @Description: 分页查询+模糊查询（学号+姓名） 
    * @param @param map
    * @param @return  
    * @return List<Thesis>
     */
    List<ThesisLayout> selectLikeByPageSelective(Map<String, Object> map);
    
}